<?php

namespace App\Models\Config;

use App\Models\Model;
use Dcat\Admin\Traits\HasDateTimeFormatter;


use Spatie\EloquentSortable\Sortable;
use Spatie\EloquentSortable\SortableTrait;

class SystemDictDatum extends Model implements Sortable
{
	use HasDateTimeFormatter,SortableTrait;

    protected $table = 'system_dict_data';

    protected $sortable = [
        "order_column_name" => "sort",
        'sort_when_creating' => true,
    ];

    protected $fillable = [
        "dict_id","dict_label","dict_value","sort","state","is_default","remark"
    ];

}
